package com.jiangyao.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

/**
 * @author zhousx
 * @create 2020/8/12
 */
@Data
@ApiModel(value = "投递简历参数")
public class ResumeSendDTO implements BaseDTO{

    @ApiModelProperty(value = "成员ID")
    private Integer userId;

    @ApiModelProperty(value = "组织ID", required = true)
    @NotNull(message = "组织ID不能为空", groups = {Add.class})
    private Integer orgId;

    @ApiModelProperty(value = "职位ID", required = true)
    @NotNull(message = "职位ID", groups = {Add.class})
    private Integer jobId;

    @ApiModelProperty(value = "试题答题ID", required = true)
    private Integer answerId;


}
